Platform Explorer / Nuxeo Platform 2021.49

Contribution org.nuxeo.search.ui.actions--filters

This contribution is part of XML component org.nuxeo.search.ui.actions inside nuxeo-search-ui-2021.49.2.jar /OSGI-INF/search-actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Registration Order

33
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>SavedSearch</facet>
          </rule>
        </filter>
  • <filter id="denyForDefaultSearch">
          <rule grant="false">
            <facet>DefaultSearch</facet>
          </rule>
        </filter>
  • <filter id="isSearchEnabled">
          <rule grant="true">
            <condition>#{userServicesContext.searchEnabled}</condition>
          </rule>
        </filter>
  • <filter id="nxqlSearchSelected">
          <rule grant="true">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="notNxqlSearchSelected">
          <rule grant="false">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="canSaveSearch">
          <rule grant="true">
            <condition>#{searchUIActions.getCanSaveSearch()}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>SavedSearch</facet>
      </rule>
    </filter>

    <filter id="denyForDefaultSearch">
      <rule grant="false">
        <facet>DefaultSearch</facet>
      </rule>
    </filter>

    <filter id="isSearchEnabled">
      <rule grant="true">
        <condition>#{userServicesContext.searchEnabled}</condition>
      </rule>
    </filter>

    <filter id="nxqlSearchSelected">
      <rule grant="true">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="notNxqlSearchSelected">
      <rule grant="false">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="canSaveSearch">
      <rule grant="true">
        <condition>#{searchUIActions.getCanSaveSearch()}</condition>
      </rule>
    </filter>

  </extension>